Skip to main content

Repeater

The `Repeater` component renders a repeater with given child components.
RepeaterProps
RepeaterProps
addButtonComponent
React.ComponentType<any>
addButtonComponentExtraProps
addButtonProps
CreateNewEntityButtonProps
addButtonText
React.ReactNode
boxLabel
React.ReactNode
children
React.ReactNode
containerComponent
React.ComponentType<& EmptyMessageOuterProps& AddEntityButtonProps& & RepeaterFieldContainerPrivateProps& ContainerExtraProps>
containerComponentExtraProps
ContainerExtraProps
dragHandleComponent
React.ComponentType<>
emptyMessage
React.ReactNode
emptyMessageComponent
React.ComponentType<EmptyMessageComponentProps>
enableAddingNew
boolean
enableRemoving
boolean
expectedMutation
ExpectedRelationMutation
field*
| string| SugarableRelativeEntityList
initialEntityCount
number
isNonbearing
boolean
itemComponent
React.ComponentType<& RepeaterItemProps& ItemExtraProps>
itemComponentExtraProps
ItemExtraProps
label*
React.ReactNode
limit
number
offset
number
onBeforePersist*
| undefined| EntityListAccessor.BeforePersistHandler| Set<EntityListAccessor.BeforePersistHandler>
onBeforeUpdate*
| undefined| EntityListAccessor.BatchUpdatesHandler| Set<EntityListAccessor.BatchUpdatesHandler>
onChildBeforeUpdate*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onChildInitialize*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onChildUpdate*
| undefined| EntityAccessor.UpdateListener| Set<EntityAccessor.UpdateListener>
onInitialize*
| undefined| EntityListAccessor.BatchUpdatesHandler| Set<EntityListAccessor.BatchUpdatesHandler>
onPersistError*
| undefined| EntityListAccessor.PersistErrorHandler| Set<EntityListAccessor.PersistErrorHandler>
onPersistSuccess*
| undefined| EntityListAccessor.PersistSuccessHandler| Set<EntityListAccessor.PersistSuccessHandler>
onUpdate*
| undefined| EntityListAccessor.UpdateListener| Set<EntityListAccessor.UpdateListener>
orderBy
SugaredOrderBy
removalType
RemovalType
setOnCreate
SugaredSetOnCreate
sortableBy
| string| SugaredRelativeSingleField
unstable__sortAxis
| "x"| "y"| "xy"
useDragHandle
boolean